<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/view/conf/farmtag.tld" prefix="PF"%>
<!-- ID,TITLE,DOCDESCRIBE,AUTHOR,PUBTIME,TAGKEY ,IMGID,VISITNUM,PRAISEYES,PRAISENO,HOTNUM,TYPENAME -->
<div class="widget-box shadow-box">
	<div class="title">
		<h3>
			<i class="glyphicon glyphicon-star"></i>推荐阅读
		</h3>
	</div>
	<div class="stream-list p-stream">
		<div class="stream-item" id="loop-30">
			<div class="row">
				<c:forEach var="topDoc" items="${topRecommends}" varStatus="status">
					<c:if test="${status.index!=0}">
						<div class="visible-xs">
							<hr />
						</div>
					</c:if>
					<div class="col-md-4" style="min-height: 240px;">
						<div class="doc_node_max_title"
							style="max-height: 50px; overflow: hidden; text-overflow: ellipsis;">
							<a class="doc_node_max_title" style="font-size: 14px;" 
								href="webdoc/view/Pub${topDoc.docid}.html"><nobr>${topDoc.title}</nobr></a>
						</div>
						<c:if test="${topDoc.imgurl!=null}">
							<div class="doc_max_img_box" >
								<img class="doc_max_img" src="${topDoc.imgurl}"
									alt="${topDoc.title}">
							</div>
						</c:if>
						<div class="doc_node_content"
							style="text-overflow: ellipsis; height: 80px; overflow: hidden;">
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="doc_node_info">
								阅读(${topDoc.visitnum }) | <PF:IfParameterEquals
									key="config.sys.opensource" val="wcp">评论(${topDoc.answeringnum })
							</PF:IfParameterEquals>
							</span> ${topDoc.text } &nbsp;
						</div>
					</div>
				</c:forEach>
			</div>
		</div>
	</div>
</div>


